package com.core.model.lxf;

import com.core.model.AbstractEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created with IntelliJ IDEA.
 * User: xf
 * Date: 2017-08-08
 * Time: 20:34
 * To change this template use Editor | File and Code Templates.
 */
@Entity
@Table(name = "sec_kill_good")
public class SecKillGoods extends AbstractEntity {

    @Column(name = "remain_num")
    private Integer remainNum;
    @Column(name = "good_name")
    private String goodsName;

    public SecKillGoods() {
    }

    public SecKillGoods(Integer remainNum, String goodsName) {
        this.remainNum = remainNum;
        this.goodsName = goodsName;
    }

    public Integer remainNum() {
        return remainNum;
    }

    public String goodsName() {
        return goodsName;
    }

}
